//
//  Category_GoodsView.h
//  MindBox
//
//  Created by MS on 16-1-5.
//  Copyright (c) 2016年 Lemon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Category_Name_Model.h"
#import "Category_Goods_Model.h"

@class Category_GoodsView;
@protocol Category_GoodsViewDelegate <NSObject>
/**
 *  商品列表代理方法
 *
 *  @param goodsView     商品列表View
 *  @param goods         传来的商品，有则点击了商品
 *  @param category_case 传来的头部商品，有则点击了头部广告商品
 *  @param index         传来得index,"-1"为点击了头部广告商品，>=0为点击了商品
 */
-(void)category_GoodsViewDidClick:(Category_GoodsView *)goodsView categoryGoods:(Son_Category *)goods categoryCase:(Category_Case *)category_case index:(NSInteger)index;

@end


@interface Category_GoodsView : UIView
@property (nonatomic,weak) UICollectionView * collectionView;
@property (nonatomic,strong) NSArray * category_goods;
@property (nonatomic,strong) Category_Case * category_case;
@property (nonatomic,weak) id<Category_GoodsViewDelegate>delegate;


@end
